package com.cvai.service;

import com.cvai.domain.dto.KnowledgeDto;
import com.cvai.domain.po.Knowledge;
import com.baomidou.mybatisplus.extension.service.IService;
import reactor.core.publisher.Flux;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cv
 * @since 2025-03-14
 */
public interface IKnowledgeService extends IService<Knowledge> {

    void add(KnowledgeDto knowledgeDto);

    void delById(Long id);

    Flux<String> chat(Long id, String question);
}
